home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Patches 1995 March
/
SGI IRIX Patches 1995 Mar.iso
/
5.2_patches
/
patchSG0000226
/
patchSG0000226.idb
/
var
/
sysgen
/
master.d
/
kernel.z
/
kernel
Wrap
Text File
|
1995-03-10
|
3KB
|
119 lines
**************************************************************************
* Copyright 1990-1992, Silicon Graphics, Inc.
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
* the contents of this file may not be disclosed to third parties, copied or
* duplicated in any form, in whole or in part, without the prior written
* permission of Silicon Graphics, Inc.
*
* RESTRICTED RIGHTS LEGEND:
* Use, duplication or disclosure by the Government is subject to restrictions
* as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
* and Computer Software clause at DFARS 252.227-7013, and/or in similar or
* successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
* rights reserved under the Copyright Laws of the United States.
**************************************************************************
*
*#ident "$Revision: 3.179 $
*
* KERNEL
*
*FLAG PREFIX SOFT #DEV DEPENDENCIES
k - - -
$$$
/* kernel: */
#include <sys/types.h>
#include <sys/buf.h>
#include <sys/edt.h>
#include <sys/vmereg.h>
#include <sys/sema.h>
#include <sys/dvh.h>
#include <sys/elog.h>
#include <sys/fstyp.h>
#include <sys/iobuf.h>
#include <sys/log.h>
#include <sys/map.h>
#include <sys/param.h>
#include <sys/pda.h>
#include <sys/sbd.h>
#include <sys/strmp.h>
#include <sys/strsubr.h>
#include <sys/sysmacros.h>
#include <sys/time.h>
#include <sys/tuneable.h>
#include <sys/utsname.h>
#include <sys/vfs.h>
#include "bwhen.h"
/*
* Root filesystem type. This array can be initialized to a valid
* filesystem type name to force root to a particular fstype.
*/
char rootfstype[FSTYPSZ] = "";
/*
* These are used to initialize the utsname struct
*/
char uname_release[] = BWHEN_REL;
char uname_version[] = BWHEN_VER;
#define NSTRINTR 1024 /* STREAMS interrupt blocks (for MP only) */
#ifdef MP_STREAMS
int nstrintr = NSTRINTR;
struct strintr strintrblock[NSTRINTR];
#endif
#if R4000 && JUMP_WAR
/*
* Enables a workaround for a bug in early Revisions of the R4000.
* This bug exists in at least Rev 2.2 and before.
*/
/* Attempt to correct jumps at the end of pages. */
int R4000_jump_war_correct = 0;
/* Attempt to correct divides at end of pages. This is
* on for all 2.2SC and 3.0SC parts, since that bug exists
* in those revisions.
*/
int R4000_div_eop_correct = 0;
/* Warn the user and log in SYSLOG, if unable to correct */
int R4000_jump_war_warn = 1;
/* Kill the process if unable to correct. */
int R4000_jump_war_kill = 1;
/* Handle ANY jump/branch at the end of a page as a problem */
int R4000_jump_war_always = 0;
#endif
#if ! R4000
int R4000_badva_war = 0;
#else
int R4000_badva_war = 1;
#endif
/* Setup the miniroot variable for kernel miniroot configuration */
#ifdef MINIROOT
u_char miniroot = 1;
#else
u_char miniroot = 0;
#endif
int splockmeter = SPLOCKMETER;
uint defaultsemameter = DEFAULTSEMAMETER;
/*
* This should never be turned on except under one condition, when the user
* wants to pass the vsx4 tcsendbreak test. Turning this on will lead to a
* hung port for the duration of a script running via nohup when the user
* logs out.
*/
int tcsendbreak_war = 0;